﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CoursePage.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.CoursePage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    #TextArea1
    {
        height: 52px;
        width: 187px;
    }
        .style4
        {
            width: 118px;
        }
        .style5
        {
            height: 21px;
        }
        #dateText
        {
            height: 17px;
            margin-bottom: 5px;
        }
        .required
        {
            color: red;
            }
    </style>
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="MainContent">
<div align="center">
<fieldset style="width: 800px; height:600px">
<div align="center">
<fieldset style="width: 400px; height: 350px;">
<legend style="text-decoration: blink; color: Maroon">Course Entry</legend>
<table>
<tr>
<td><asp:Label ID="Label1" runat="server" Text="Code"></asp:Label></td>
<td class="style4"><asp:TextBox ID="codeTextBox" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" CssClass="required" ControlToValidate="codeTextBox" ValidationGroup="vgCoursePage"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td><asp:Label ID="Label2" runat="server" Text="Credit"></asp:Label></td>
<td class="style4"><asp:TextBox ID="creditTextBox" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" CssClass="required" ControlToValidate="creditTextBox" ValidationGroup="vgCoursePage"></asp:RequiredFieldValidator>
</td>
 </tr>
 <tr>
 <td><asp:Label ID="Label3" runat="server" Text="Name"></asp:Label></td>
<td class="style4">
<asp:TextBox ID="nameTextBox" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" CssClass="required" ControlToValidate="nameTextBox" ValidationGroup="vgCoursePage"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td><asp:Label ID="Label4" runat="server" Text="Description"></asp:Label></td>
<td class="style4"><asp:TextBox ID="descriptionTextBox" runat="server" TextMode="MultiLine"></asp:TextBox></td>
</tr>
<tr>
<td><asp:Label ID="Label5" runat="server" Text="Department"></asp:Label></td>
<td class="style5"><asp:DropDownList ID="departmentDropDownList" runat="server"></asp:DropDownList></td> 
</tr>
<tr>
<td><asp:Label ID="Label6" runat="server" Text="Semester"></asp:Label></td>
<td class="style4"><asp:DropDownList ID="semesterDropDownList" runat="server"></asp:DropDownList></td>
</tr>
<tr>
<td></td>
<td class="style5"><asp:Button ID="courseEntrySaveButton" runat="server" onclick="courseEntrySaveButton_Click" Text="Save" style="height: 26px"  ValidationGroup="vgCoursePage"/></td>
</tr>
<tr>
<td align="center"><asp:Label ID="courseEntryMessageLabel" runat="server"></asp:Label></td>
</tr>
</table>
</fieldset>
</div>
</fieldset>
</div>
</asp:Content>

